package graph;
import java.util.*;

public class Node<T> {
    public T val;
    public  List<Node<T>> nexts;
    public List<Edge<T>> edges;
    int in;
    int out;
    public Node(T val) {
        this.val = val;
        this.in = 0;
        this.out = 0;
        nexts = new ArrayList<>();
        edges = new ArrayList<>();
    }
}
